<script type="text/javascript">var msgBookingApproveConfirm ="<fmt:message key="ACTION_bookingApprove.confirm"/>";</script>
<script type="text/javascript">var msgBookingGotoBankConfirm ="<fmt:message key="ACTION_bookingGotoBank.confirm"/>";</script>
<script type="text/javascript">var msgBookingDenyConfirm ="<fmt:message key="ACTION_bookingDeny.confirm"/>";</script>

<security:authorize ifAnyGranted="ROLE_Booking">
    <c:if test="${loanRequest.phase=='booking_audit' and loanRequest.auditUser.username == pageContext.request.remoteUser}">
        <c:set var="editBooking" scope="page" value="true" />
    </c:if>
    <div class="box box-primary box-solid" >
        <div class="box-header">
            <h3 class="box-title"><fmt:message key="loanRequestDetail.moneyRequest"/></h3>
        </div>
        <!-- /.box-header -->
        <div class="box-body">
            <div class="form">
                <div class="checkbox">
                    <span><fmt:message
                            key="loanInsurance"/></span><br/>
                    <label class="col-sm-offset-1"><form:checkbox path="responseInsuranceComplete" cssClass="insure" disabled="${!editBooking}"/><fmt:message
                            key="loanInsurance.response"/></label>
                    <label class="col-sm-offset-1"><form:checkbox path="damageInsuranceComplete" cssClass="insure" disabled="${!editBooking}"/><fmt:message
                            key="loanInsurance.damage"/></label>

                    <label class="col-sm-offset-1"><form:checkbox path="theftInsuranceComplete" cssClass="insure" disabled="${!editBooking}"/>
                            <%--<input type="checkbox" class="insure" value=""/>--%>
                        <fmt:message
                                key="loanInsurance.thief"/></label>

                    <br/>
                    <label class="col-sm-offset-1"><form:checkbox path="lunuoSafe" cssClass="insure" disabled="${!editBooking}"/><fmt:message
                            key="loanInsurance.lunuoSafe"/></label>
                    <label class="col-sm-offset-1"><form:checkbox path="mustInsurance" cssClass="insure" disabled="${!editBooking}"/><fmt:message
                            key="loanInsurance.mustIns"/></label><br/>
                    <span><fmt:message
                            key="other.material"/></span><br/>
                    <label class="col-sm-offset-1"><form:checkbox path="contactSigned" cssClass="insure" disabled="${!editBooking}"/><fmt:message key="loanContract"/></label>
                    <label class="col-sm-offset-1"><form:checkbox path="facePhotoed" cssClass="insure" disabled="${!editBooking}"/><fmt:message key="loanFacePic"/></label>
                    <label class="col-sm-offset-1"><form:checkbox path="authorizationSigned" cssClass="insure" disabled="${!editBooking}"/><fmt:message key="loanAuthorization"/></label><br/>
                    <label class="col-sm-offset-1"><form:checkbox path="invoiceProvided" cssClass="insure" disabled="${!editBooking}"/><fmt:message key="loanInvoice"/></label>
                    <label class="col-sm-offset-1"><form:checkbox path="mortgaged" cssClass="insure" disabled="${!editBooking}"/><fmt:message key="mortgaged"/></label><br/>
                </div>
                <%--<div>--%>
                    <%--<label><fmt:message--%>
                            <%--key="approval.confirm"/></label><br/>--%>
                            <%--<textarea rows="3"  id="approveComments"  class="form-control"--%>
                                      <%--placeholder="comments"></textarea><br/>--%>
                <%--</div>--%>

            </div>
        </div>

    </div>
</security:authorize>